package com.gitee.clarence.swagger.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import io.swagger.models.Info;

@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties extends Info {

	/** 是否开启swagger **/
	private Boolean enabled = true;

	/** host信息 **/
	private String host = "127.0.0.1";
	
	private String sourceDir;
	
	private String basePath;

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getSourceDir() {
		return sourceDir;
	}

	public void setSourceDir(String sourceDir) {
		this.sourceDir = sourceDir;
	}

	public String getBasePath() {
		return basePath;
	}

	public void setBasePath(String basePath) {
		this.basePath = basePath;
	}

}